package top.healthylife.gateway.platform.bank.dto.personal;

import io.swagger.annotations.ApiModel;
import lombok.Getter;

/**
 * @author : GaoZeXi
 * @date 2021/8/17 10:06
 */
@Getter
@ApiModel("个人证件类型")
public enum PersonalCertificateType {
    CT1("1", "户口簿"),
    CT2("2", "护照"),
    CT5("5", "港澳居民来往内地通行证"),
    CT6("6", "台湾同胞来往内地通行证"),
    CT8("8", "外国人居留证"),
    CT9("9", "警官证"),
    CTA("A", "香港身份证"),
    CTB("B", "澳门身份证"),
    CTC("C", "台湾身份证"),
    CTX("X", "其他证件"),
    CT10("10", "居民身份证及其他以公民身份证号为标识的证件（简称“身份证”“身份证”、“临时身份证” 均对应此代码。）"),
    CT20("20", "军人身份证件（“军官证”“士兵证”均对应此代码）");

    String code;
    String name;

    PersonalCertificateType(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
